import os
import platform
import shutil
import pytest


if __name__ == '__main__':
	pytest.main()
	shutil.copy('./environment.xml', './temp')
	if platform.system() != 'Linux':
		# os.system('allure generate --lang zh ./temp -o ./reports --clean')
		os.system('allure serve --lang zh ./temp')
